using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.Data;
using Shared;
using System.Runtime.Serialization;

namespace Shared
{
    [DataContract]
    [Serializable]
    public class Human
    {
        [DataMember]
        public string FirstName;

        [DataMember]
        public string LastName;

        [DataMember]
        public DateTime DateOfBirth;

        [DataMember]
        public bool Single;

        [DataMember]
        public string Description;
    }

    [ServiceContract(SessionMode=SessionMode.Allowed)]
    public interface IDSService
    {
        [OperationContract]
        DataSet1 LoadDataSet(int noOfRows, bool includeSchema, bool binarySerialization);

        [OperationContract]
        Human LoadPlainObject();
    }
}
